import {defineStore} from 'pinia';
import {Session} from "../../utils/storage";
import {common} from "../../constance/common";

const useUserInfo = defineStore('userInfo', {
    state: (): IUserInfosState => ({
        userInfo: Session.get(common.userInfo)
    }),
    actions: {},
})

export default useUserInfo;
